package catchnthrow;


public class PlotData implements Cloneable { 
    public double ref, y, u; 
    public double x; // holds the current time 

    public PlotData(double xIn, double yrefIn, double yIn, double uIn) {
      ref = yrefIn;
      y = yIn;
      x = xIn;
      u = uIn;
    }
    
    public Object clone() { 
        try { 
	    return super.clone(); 
        } catch (Exception e) {return null;} 
    } 
} 
